package com.xia.mapper;

import com.xia.pojo.Reader;

import java.util.List;
import java.util.Map;

public interface ReaderMapper {

    Integer readerQueryByReaderId(Integer readerId);

    void readerRegister(Reader reader);

    Reader readerLoginQuery(Map<String, Object> map);

    List<Reader> readerQueryList(Map<String, Object> map);

    Integer readerQueryCount(Map<String, Object> map);

    Reader readerQueryById(Integer readerId);

    void updateReader(Reader reader);

    void delReader(Integer id);

    void editPwd(Map<String, Object> map);

    Integer checkPwd(Reader reader);


}
